package com.zlz.ddns.seddns.remote;

import com.tencentcloudapi.common.exception.TencentCloudSDKException;
import com.tencentcloudapi.dnspod.v20210323.models.RecordListItem;
import com.zlz.ddns.seddns.domain.DDnsUpdateRecord;

/**
 * @Author: zhulinzhong
 * @Date: 2024/7/15
 */
public interface TencentCloudDNSPodRemoteService {

    boolean add(DDnsUpdateRecord record) throws TencentCloudSDKException;

    boolean update(DDnsUpdateRecord record) throws TencentCloudSDKException;

    boolean delete(DDnsUpdateRecord record);

    RecordListItem query() throws TencentCloudSDKException;
}
